/*
 * @Author: mikey.zhaopeng 
 * @Date: 2018-11-18 16:11:47 
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2018-12-13 23:36:15
 */
import 'package:flutter/material.dart';

enum Device {
  MAC, WIN
}

class AppColors {
  static const BackgroundColor =0xffebebeb;
  static const AppBarColor = 0xff303030;
  static const TabIconActive = 0xff46c11b;
  static const TabIconNormal = 0xff999999;
  static const AppBarPopuMenuTextColor=0xffffffff;
  static const TitleTextColor=0xff353535;
  static const ConversationItemColor = 0xffffffff;
  static const DescTextColor = 0xff9e9e9e;
  static const DividerColor=0xffd9d9d9;
  static const NotifyDotBg = 0xffff3e3e;
  static const NodifyDotText = 0xffffffff;
  static const ConversationMuteIconColor=0xffd8d8d8;
  static const DeviceInfoItemBg = 0xfff5f5f5;
  static const DeviceInfoItemText=0xff606062;
  static const ContactGroupTitleBg =0xffebebeb;
  static const IndexLetterBoxBg = Colors.black45;
}

class AppStyles{
  static const TitleStyle=TextStyle(
    fontSize: 14.0,
    color:Color(AppColors.TitleTextColor),
  );
  static const DescStyle=TextStyle(
    fontSize: 12.0,
    color:Color(AppColors.DescTextColor),
  );
  static const UnReadMsgCountStyle = TextStyle(
    fontSize: 12.0,
    color: Color(AppColors.NodifyDotText),
  );
  static const DeviceInfoItemTextStyle=TextStyle(
    color: Color(AppColors.DeviceInfoItemText),
    fontSize: 13.0,
  );
  static const GroupTitleItemTextStyle=TextStyle(color: Color(0xff888888),fontSize: 12.0);
  static const IndexLettersTextStyle=TextStyle(
    fontSize: 64.0,
    color:Colors.white,
  );
}


class Constants {
  static const IconFontFamily = 'appIconFont';
  static const ConversationAvatarSize=48.0;
  static const DividerWidth = 1.0;
  static const UnReadMsgNotifyDotSize = 20.0;
  static const ConversationMuteIconSize = 18.0;
  static const DeviceInfoItemHeight=  30.0;
  static const ContactAvatarSize = 36.0;
  static const IndexBarWidth =24.0;
  static const IndexLetterBoxSize =114.0;
  static const IndexLettersBoxRadius = 6.0;
}
